<div class="index" >
<h3>Danh sách các căn cứ đã có</h3>
<table cellpadding="0" cellspacing="0">
   <tr>
         <th><?php echo 'STT';?></th>
         <th><?php echo 'Tên căn cứ';?></th>
         <th><?php echo 'Hành động';?></th>
   </tr>
   <?php
   $i = 0;
   foreach ($bbs as $k):
      $class = null;
      if ($i++ % 2 == 0) {
         $class = ' class="altrow"';
      }

   ?>
   <tr<?php echo $class;?>>
      <td><?php echo $i; ?>&nbsp;</td>
      <td><?php echo $k ['Bb'] ['tenbb']; ?>&nbsp;</td>
         <td class="actions">
      <?php echo $this->Html->link(__('Delete', true), array('action' => 'delete', $k ['Bb'] ['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $k ['Bb'] ['tenbb'])); ?>
         </td>
   </tr>
<?php endforeach; ?>
</table>


</div>
<div class="actions">
   <h3><?php __('Chức năng bổ sung'); ?></h3> 
   <ul>
      <li><?php echo $this->Html->link(__('Thêm căn cứ', true), array('action' => 'add')); ?></li>
      
   </ul>
</div>